﻿
namespace Identity.API.Model
{

    public interface IUserInfoRepository
    {
        Task<UserInfo?> GetUserInfoByIdAsync(Guid userId);
        Task<UserInfo?> GetUserInfoByOpenIdAsync(string openId);
        Task<UserInfo?> AddOrGetUserInfoAsync(UserInfo user);
        Task UpdateUserInfoAsync(UserInfo user);
    }
}
